package com.yzc.mihuyou.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 资源表
 * </p>
 *
 * @author yzc
 * @since 2022-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Popup对象", description="资源表")
public class Popup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源id")
    @TableId(value = "poup_id", type = IdType.AUTO)
    private Integer poupId;

    @ApiModelProperty(value = "资源分类id")
    private Integer lefId;

    @ApiModelProperty(value = "资源图片")
    private String poupImg;

    @ApiModelProperty(value = "资源标题")
    private String poupCome;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "定位")
    private String xy;

    @ApiModelProperty(value = "用户id")
    private String userId;


}
